{% load account %}
{% load custom_tags %}
{% load allauth account %}
{% load socialaccount %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>blog</title>
</head>
<body>
    <h1>blog homepage</h1>
    

    {% if user.is_authenticated %}
        <p>Welcome {{ user.username }} {{ user.email }} !!!</p>
        <a href="{% url 'account_logout' %}">Logout</a>
    {% else %}
        <a href="#">Sign Up with GitHub</a>
        <a href="#">Sign Up with GitHub</a>
        <a href="#">Sign Up with GitHub</a>
        <a href="#">Sign Up with GitHub</a>
        <a href="{% url 'account_signup' %}">Sign Up</a>
        <a href="{% url 'account_login' %}">Login</a>
    {% endif %}

    
    
    {% comment %}
    {%get_all_attrs user%}
    {%get_type user%}
    
    <pre>
        {% debug %}
    </pre>  
    
    {% endcomment %}


    {% user_display user %}
    
    {% user_display user as user_display %}
    
    {{ user_display }} has logged in...
    
    In case you forgot, your username is {{ user }}.
</body>
</html>